/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Send-Message-Related-APIs
 * 短信发送相关API
 *
 * OpenAPI spec version: v1
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;
using JDCloudSDK.Core.Service;

using JDCloudSDK.Core.Annotation;
using Newtonsoft.Json;

namespace  JDCloudSDK.Sms.Apis
{

    /// <summary>
    ///  指定模板群发短信接口。接口调用需要使用京东云统一鉴权的SDK方式接入，以下文档仅是接口出参、入参描述，并不是最终程序实现逻辑的范例，具体接口实现请查看SDK参考：https://docs.jdcloud.com/cn/text-message/java
    /// </summary>
    public class BatchSendRequest : JdcloudRequest
    {
        ///<summary>
        /// 模板Id
        ///Required:true
        ///</summary>
        [Required]
        public   string TemplateId{ get; set; }
        ///<summary>
        /// 签名Id
        ///Required:true
        ///</summary>
        [Required]
        public   string SignId{ get; set; }
        ///<summary>
        /// 群发的国内电话号码,群发时一次最多不要超过100个手机号
        ///</summary>
        public List<string> PhoneList{ get; set; }

        ///<summary>
        /// 短信模板变量对应的数据值,Array格式
        ///</summary>
        public List<string> Params{ get; set; }

        ///<summary>
        /// Region ID
        ///Required:true
        ///</summary>
        [Required]
        [JsonProperty("regionId")]
        public   string RegionIdValue{ get; set; }
    }
}